Version

Dialog(DialogModel,String,DialogState) Method

Helper to configure and render igDialog widget, which supports persistence of state, size, zIndex and position after postback.

Note: if a property is set within DialogModel, then that has priority over client value.
Syntax
'Declaration
 
Public Overloads Function Dialog( _
   ByVal model As DialogModel, _
   ByVal persistenceInputName As System.String, _
   ByVal initialState As DialogState _
) As System.Web.Mvc.MvcHtmlString
public System.Web.Mvc.MvcHtmlString Dialog( 
   DialogModel model,
   System.string persistenceInputName,
   DialogState initialState
)

Parameters

model
Instance of DialogModel
persistenceInputName
The name of hidden INPUT, which will enable persistence from client.
initialState
Initial state of dialog

Return Value

String that represents control
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub